package com.vencent.spring.blend.test;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import com.vencent.spring.blend.config.MixedConfig;
import com.vencent.spring.java.bean.Toys;
import com.vencent.spring.xml.bean.Person;


@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes=MixedConfig.class)
public class SpringJunitStarter {
	@Autowired
	private Person per;
	
	@Autowired
	private Toys toys;
	
	@Test
	public void playTest(){
		per.play();
		toys.getLikeToys();
	}
}
